public class MailReader1 extends Thread {
	private Mailbox2 mb;

	public MailReader1(Mailbox2 mail){
		mb = mail;
	}
	
	public void run(){
		while(true){
			System.out.println(mb.getMessage());
			try {
   				 Thread.sleep((long) (200 * Math.random()));
   		 } catch (Exception e) {
   		 }

		}
	}
}